package com.ltkj.baseplatform.domain.bo;

import com.ltkj.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * 内容管理-栏目对象
 *
 * @author liupf
 * @date 2023-08-28
 */

@ApiModel(value = "内容管理-栏目对象")
public class ArtChannelBo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 栏目ID */
    @ApiModelProperty("主键ID")
    private Long id;

    /** 栏目名称 */
    @ApiModelProperty(value = "栏目名称",required = true)
    @NotBlank(message = "栏目名称不能为空!")
    private String channelName;

    /** 上级栏目ID */
    @ApiModelProperty("上级栏目ID")
    private Long parentId;

    /** 排序 */
    @ApiModelProperty("排序")
    private Long sortNum;

    /** 访问路径 */
    @ApiModelProperty("访问路径")
    private String visitPath;

    /** 内容代码路径 */
    @ApiModelProperty("内容代码路径")
    private String contentPath;

    /** 状态（是否在回收站） */
    //@ApiModelProperty("状态（0不在回收站，1在回收站），默认0")
    private String status;

    /** 是否删除 */
    @ApiModelProperty("是否删除（0否，1是，2回收站，默认0）")
    private String isDel;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getSortNum() {
        return sortNum;
    }

    public void setSortNum(Long sortNum) {
        this.sortNum = sortNum;
    }

    public String getVisitPath() {
        return visitPath;
    }

    public void setVisitPath(String visitPath) {
        this.visitPath = visitPath;
    }

    public String getContentPath() {
        return contentPath;
    }

    public void setContentPath(String contentPath) {
        this.contentPath = contentPath;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }
}
